//
//  GrowthViewController.h
//  Growth
//
//  Created by Hobo.Chen on 12/26/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LoginViewController.h"
#import "MenuViewController.h"
#import "ContentUnitViewController.h"
#import "PushViewController.h"

#import "pictureWallViewController.h"
#import "TimelineViewController.h"
#import "GrowthAppDelegate.h"
#import "otherTimelineViewController.h"
#import "planListViewController.h"

#import "TLTrendsViewController.h"


#import "anniversaryViewController.h"

#include "DDMenuController.h"
#import "Reachability.h"
#import "ThirdPartLoginViewController.h"
#import "familyViewController.h"
#import "ProfileViewController.h"

#import "ToolBoxViewController.h"
#import "PersonalViewController.h"

@class ContentUnitViewController;

@class DDMenuController;



@interface GrowthViewController : PushViewController
<UIAccelerometerDelegate, 
MenuViewControllerDelegate,
LoginViewControllerDelegate,
ContentViewControllerDelegate,
PushViewDelegate,
pictureViewControllerDelegate
,PushupViewControllerDelegate,
DDMenuControllerDelegate,
UIAlertViewDelegate,
ThirdPartViewControllerDelegate,
MyAttentionViewControllerDelegate

> {
	BOOL isMenuEnable;	
    //菜单界面
	MenuViewController *menuViewController;		
	//内容界面，时间轴/频道列表/动态列表
    ContentUnitViewController *contentViewController;
     
    //游客图片墙
    pictureWallViewController *pictureViewController;
    
      //三个主页面controller
    DDMenuController *menuController;
    
    ////主页
    TimelineViewController *mainController;
    
    //左页面
    ProfileViewController *leftController;
    
    //好友动态
    TLTrendsViewController *freindsNewsController;
    
    //家庭群组
    FamilyViewController *myFamilyViewController;
    
    //工具箱
    ToolBoxViewController *toolBoxViewController;
    
}

//controllers
@property (strong, nonatomic) DDMenuController *menuController;
@property (nonatomic,retain)   TimelineViewController *mainController;
@property (nonatomic,retain)   ProfileViewController *leftController;
@property (nonatomic,retain)   TLTrendsViewController *freindsNewsController;
@property (nonatomic,retain)    FamilyViewController *myFamilyViewController;
@property (nonatomic,retain)     ToolBoxViewController *toolBoxViewController; 

@property (nonatomic) BOOL isMenuEnable;

@property (nonatomic, retain) MenuViewController *menuViewController;
@property (nonatomic, retain) ContentUnitViewController *contentViewController;



- (void)showMenuView;
-(void)showAllMenu;

-(void)hideRecordMenu;
-(void)showRecordMenu;
-(void)showCamera;


//系统消息
-(void)systemMessage;
-(void)requestSystemMessage;

//回主页
-(void)toMainView;



-(void)toMyMessageView:(int)messageCount;
-(void)toModifyKeyView;

//保存离线上传数据
-(void)saveRecordData:(NSString *)theBodyString;

//发布记录
-(void)sendRecordData:(NSString *)theBodyString;


//到图片墙
-(void)toImageWall;

//下载用户信息
-(void)loadTimelineInfo;

//menuview  tap事件
-(void)setMenuControllerTapEnabel:(BOOL)tap;

//释放menuview Controller
-(void)setMenuControllerNull;


@end

